<template>
  <DuDialog ref="dialogRef" :win="win" @confirm="confirm" @open="openDialog" @close="closeDialog">
    <div>
      <span>这里是dailog内容</span>

      <comTest></comTest>
    </div>
  </DuDialog>
</template>

<script setup>
const props = defineProps({
  win: {
    type: Object,
    required: true,
  },
  state: {
    type: String,
    default: '',
  },
  row: {
    type: Object,
    default: () => {},
  },
})
console.log(props)

const openDialog = () => {
  console.log('打开了dialog')
}

const closeDialog = () => {
  console.log('关闭了dialog')
}

const confirm = () => {
  console.log('点击了确定')
}
</script>

<style scoped></style>
